package com.guqinghan.guqinghan_05_broadcastreceiver_1;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

/*
    电话广播接收器
 */
public class StopCallReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        String resultData = getResultData();
        System.out.println("检测出来拨号了,电话号码： "+resultData);
        Log.i("StopCallReceiver","检测出来拨号了,电话号码： "+resultData);
    }
}
